#ifndef BASEGAMEENTITY_H
#define BASEGAMEENTITY_H

//each character is derived from this class

class BaseGameEntity
{
private:
	//Identification Number to be able to
	//reference each character seperately
	int iID;
	
	//Updated each time BaseGameEntity is instantiated
	static int siNextID;

	//Must be called in constructor to assure that the ID's
	//are called and set properly
	void SetID(int value);

public:

	//instantiated with a valid ID number
	BaseGameEntity(int iID)
	{SetID(iID);}

	//deconstructor
	virtual ~BaseGameEntity(){}

	//every character is able to update to check status
	virtual void Update()=0;

	//returns ID for specific character
	int ID()const{return iID;}
};
#endif